package com.sskjdata.cg.service.auth;

import com.sskjdata.cg.service.BaseService;
import org.springframework.security.authentication.AuthenticationManager;

/**
 * @Descirption
 * @Author Jason
 * @Date 2018/6/19/
 */
public interface AuthService extends BaseService {


    public String login(AuthenticationManager authenticationManager, String username, String password)throws Exception;
    public String refresh(String oldToken)throws Exception;
}
